home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / bumpcopter2.swf / scripts / frame_30 / PlaceObject2_439_24 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-13  |  366 b   |  16 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.copter) && die == false && _root.copter._currentframe == 1)
  3.    {
  4.       _root.health.nextFrame();
  5.       this.nextFrame();
  6.       _root.xSpeed = - _root.xSpeed;
  7.       _root.health.nextFrame();
  8.       _root.ySpeed = 3;
  9.       die = true;
  10.    }
  11.    else if(die == false)
  12.    {
  13.       this.gotoAndStop(1);
  14.    }
  15. }
  16.